package com.alibaba.ai.controller;

import com.alibaba.ai.service.ColumbiaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 王振东
 */
@RestController
@RequestMapping("/index1")
public class ColumbiaController {
    //在售房源
    @Autowired
    private ColumbiaService columbiaService;
    @GetMapping("/list")
    public String getColumbia(@RequestParam String fPictureName,@RequestParam String eXareaName,@RequestParam String cPrice,@RequestParam Integer acreage){
        return columbiaService.getColumbia(fPictureName,eXareaName,cPrice,acreage);
    }
}
